part of '../article.dart';

final ruleHead = RegExp(r'[^#]?#{2} (.*)');
final ruleList = RegExp(r'- (.*)');
final ruleImage = RegExp(r'!\[(.*?)\]\((.*?\.(?:png|jpg|jpeg))\)');
// 用来判断行内
final ruleBold = RegExp(r'\*{2}(.*?)\*{2}');
final ruleCode = RegExp(r'`(.*?)`');
final ruleWiki = RegExp(r'!?\[\[(.*?)(?<!\.jpeg)(?<!\.png)(?<!\.jpg)\]\]');
final ruleWeb = RegExp(r'\[(.*?)\]\((?<link>.*?)\)');
// TODO：由于要引用，暂时不想识别区别因此移到这边，但是我感觉和Web是一回事
final ruleLink = RegExp(r'\[(.*?)\]\((.*?)\)');
